From: Dan Nicolaescu Date: Wed, 1 Apr 2009 20:01:14 +0000 (+0000) Subject: (vc-mtn-register): Fix optional arguments. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~421^2~1002 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=5c202c5308fe5ac9279ed607bd6dde4b60d74b5f;p=emacs.git (vc-mtn-register): Fix optional arguments. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1c01608592c..8079f6cd2f3 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2009-04-01 Dan Nicolaescu + * vc-mtn.el (vc-mtn-register): Fix optional arguments. + * vc-hooks.el (vc-name): Avoid calling vc-backend twice. (vc-mode-line): Accept and use an optional argument for the backend. diff --git a/lisp/vc-mtn.el b/lisp/vc-mtn.el index e051477818d..6e9237ec38e 100644 --- a/lisp/vc-mtn.el +++ b/lisp/vc-mtn.el @@ -151,7 +151,7 @@ If nil, use the value of `vc-diff-switches'. If t, use no switches." (t ?:)) branch))) -(defun vc-mtn-register (files &optional rest) +(defun vc-mtn-register (files &optional rev comment) (vc-mtn-command nil 0 files "add")) (defun vc-mtn-responsible-p (file) (vc-mtn-root file))